package com.sundi.ecmarket.service.impl;

import com.sundi.ecmarket.dto.BrandDto;
import com.sundi.ecmarket.entity.EcBrand;
import com.sundi.ecmarket.mapper.EcBrandMapper;
import com.sundi.ecmarket.service.IEcBrandService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 品牌商表 服务实现类
 * </p>
 *
 * @author Mht
 * @since 2020-02-23
 */
@Service
public class EcBrandServiceImpl extends ServiceImpl<EcBrandMapper, EcBrand> implements IEcBrandService {


    @Override
    public List<EcBrand> selectBrandList(BrandDto brandDto) {
        return this.baseMapper.selectBrandList(brandDto);
    }

    @Override
    public void updateLogicDel(Integer id) {

        this.baseMapper.updateLogicDel(id);
    }
}
